package org.kwin.test;

import org.kwin.test.servlet.DispatcherServlet;
import org.kwin.tomcat.Tomcat;

/**
 * @author : wangkai
 * @version V1.0
 * @Package org.kwin.test
 * @Description:
 * @date 2021年10月12日 10:52
 **/
public class TomcatStart {
    
    public static void main(String[] args) throws Exception {
        Tomcat tomcat = new Tomcat();
        tomcat.setPort(8081);
        tomcat.addServlet(new DispatcherServlet());
        tomcat.start();
    }
}
